package io.renren.sf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.sf.entity.CbChapterEntity;
import io.renren.sf.vo.BookToUnitVo;
import io.renren.sf.vo.ChapterVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-03-31 13:04:12
 */
public interface CbChapterService extends IService<CbChapterEntity> {

    Page<ChapterVo> getChapterByBookId(Map<String, Object> params);

    void saveChapterAndPic(Map<String, Object> params);

    List<BookToUnitVo> getBookAndUnitByEditionId(Long editionId);

    List<CbChapterEntity> getChapterAndPicAndWord(long parseLong);
}

